home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 6c 61 6e 67 2e 63 2b | 2b 0a 50 61 74 68 3a 20 |.lang.c+|+.Path: |
|00000020| 6e 65 77 73 2e 65 6e 67 | 2e 63 6f 6e 76 65 78 2e |news.eng|.convex.|
|00000030| 63 6f 6d 21 61 72 63 6f | 21 75 73 65 6e 65 74 0a |com!arco|!usenet.|
|00000040| 46 72 6f 6d 3a 20 46 69 | 72 73 74 6e 61 6d 65 20 |From: Fi|rstname |
|00000050| 4c 61 73 74 6e 61 6d 65 | 20 3c 4c 61 73 74 6e 61 |Lastname| <Lastna|
|00000060| 6d 65 23 6d 23 5f 46 69 | 72 73 74 6e 61 6d 65 5f |me#m#_Fi|rstname_|
|00000070| 4d 69 64 64 6c 65 49 6e | 69 74 69 61 6c 40 6d 73 |MiddleIn|itial@ms|
|00000080| 6d 61 69 6c 2e 61 61 69 | 2e 61 72 63 6f 2e 63 6f |mail.aai|.arco.co|
|00000090| 6d 3e 0a 53 75 62 6a 65 | 63 74 3a 20 52 65 3a 20 |m>.Subje|ct: Re: |
|000000a0| 5b 51 5d 20 6e 61 6d 65 | 73 70 61 63 65 20 23 32 |[Q] name|space #2|
|000000b0| 0a 58 2d 4e 6e 74 70 2d | 50 6f 73 74 69 6e 67 2d |.X-Nntp-|Posting-|
|000000c0| 48 6f 73 74 3a 20 31 33 | 36 2e 32 32 36 2e 31 30 |Host: 13|6.226.10|
|000000d0| 36 2e 31 33 33 0a 43 6f | 6e 74 65 6e 74 2d 54 79 |6.133.Co|ntent-Ty|
|000000e0| 70 65 3a 20 74 65 78 74 | 2f 70 6c 61 69 6e 3b 20 |pe: text|/plain; |
|000000f0| 63 68 61 72 73 65 74 3d | 75 73 2d 61 73 63 69 69 |charset=|us-ascii|
|00000100| 0a 4d 65 73 73 61 67 65 | 2d 49 44 3a 20 3c 44 6e |.Message|-ID: <Dn|
|00000110| 7a 30 41 35 2e 43 72 44 | 40 6e 65 77 73 2e 61 72 |z0A5.CrD|@news.ar|
|00000120| 63 6f 2e 63 6f 6d 3e 0a | 54 6f 3a 20 64 62 72 69 |co.com>.|To: dbri|
|00000130| 64 67 65 73 40 63 72 6c | 2e 63 6f 6d 0a 53 65 6e |dges@crl|.com.Sen|
|00000140| 64 65 72 3a 20 75 73 65 | 6e 65 74 40 6e 65 77 73 |der: use|net@news|
|00000150| 2e 61 72 63 6f 2e 63 6f | 6d 0a 43 6f 6e 74 65 6e |.arco.co|m.Conten|
|00000160| 74 2d 54 72 61 6e 73 66 | 65 72 2d 45 6e 63 6f 64 |t-Transf|er-Encod|
|00000170| 69 6e 67 3a 20 37 62 69 | 74 0a 4f 72 67 61 6e 69 |ing: 7bi|t.Organi|
|00000180| 7a 61 74 69 6f 6e 3a 20 | 41 52 43 4f 20 41 6c 61 |zation: |ARCO Ala|
|00000190| 73 6b 61 2c 20 49 6e 63 | 2e 0a 52 65 66 65 72 65 |ska, Inc|..Refere|
|000001a0| 6e 63 65 73 3a 20 3c 34 | 68 66 38 37 71 24 62 32 |nces: <4|hf87q$b2|
|000001b0| 68 40 63 72 6c 2e 63 72 | 6c 2e 63 6f 6d 3e 0a 4d |h@crl.cr|l.com>.M|
|000001c0| 69 6d 65 2d 56 65 72 73 | 69 6f 6e 3a 20 31 2e 30 |ime-Vers|ion: 1.0|
|000001d0| 0a 44 61 74 65 3a 20 46 | 72 69 2c 20 38 20 4d 61 |.Date: F|ri, 8 Ma|
|000001e0| 72 20 31 39 39 36 20 32 | 32 3a 33 39 3a 34 31 20 |r 1996 2|2:39:41 |
|000001f0| 47 4d 54 0a 58 2d 4d 61 | 69 6c 65 72 3a 20 4d 6f |GMT.X-Ma|iler: Mo|
|00000200| 7a 69 6c 6c 61 20 31 2e | 31 4e 20 28 4d 61 63 69 |zilla 1.|1N (Maci|
|00000210| 6e 74 6f 73 68 3b 20 49 | 3b 20 50 50 43 29 0a 58 |ntosh; I|; PPC).X|
|00000220| 2d 55 72 6c 3a 20 6e 65 | 77 73 3a 34 68 66 38 37 |-Url: ne|ws:4hf87|
|00000230| 71 24 62 32 68 40 63 72 | 6c 2e 63 72 6c 2e 63 6f |q$b2h@cr|l.crl.co|
|00000240| 6d 0a 0a 64 62 72 69 64 | 67 65 73 40 63 72 6c 2e |m..dbrid|ges@crl.|
|00000250| 63 6f 6d 20 28 44 69 63 | 6b 20 42 72 69 64 67 65 |com (Dic|k Bridge|
|00000260| 73 29 20 77 72 6f 74 65 | 3a 0a 3e 47 69 76 65 6e |s) wrote|:.>Given|
|00000270| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 6e | the fol|lowing n|
|00000280| 61 6d 65 73 70 61 63 65 | 3a 0a 3e 0a 3e 6e 61 6d |amespace|:.>.>nam|
|00000290| 65 73 70 61 63 65 20 41 | 0a 3e 7b 0a 3e 09 69 6e |espace A|.>{.>.in|
|000002a0| 74 20 69 20 3d 20 35 36 | 3b 0a 3e 7d 3b 0a 3e 0a |t i = 56|;.>};.>.|
|000002b0| 3e 48 6f 77 20 28 6f 72 | 20 63 61 6e 29 20 79 6f |>How (or| can) yo|
|000002c0| 75 20 75 73 65 20 69 74 | 20 69 6e 20 74 77 6f 20 |u use it| in two |
|000002d0| 2a 44 49 46 46 45 52 45 | 4e 54 2a 20 73 6f 75 72 |*DIFFERE|NT* sour|
|000002e0| 63 65 20 66 69 6c 65 73 | 3f 20 20 46 6f 72 20 65 |ce files|? For e|
|000002f0| 78 61 6d 70 6c 65 3a 0a | 3e 0a 3e 69 6e 20 6f 6e |xample:.|>.>in on|
|00000300| 65 2e 63 70 70 2e 2e 2e | 0a 3e 0a 3e 76 6f 69 64 |e.cpp...|.>.>void|
|00000310| 20 66 6f 6f 28 29 0a 3e | 7b 0a 3e 09 75 73 69 6e | foo().>|{.>.usin|
|00000320| 67 20 6e 61 6d 65 73 70 | 61 63 65 20 41 3b 0a 3e |g namesp|ace A;.>|
|00000330| 09 63 6f 75 74 20 3c 3c | 20 69 20 3c 3c 20 65 6e |.cout <<| i << en|
|00000340| 64 6c 3b 0a 3e 7d 0a 3e | 0a 3e 61 6e 64 20 69 6e |dl;.>}.>|.>and in|
|00000350| 20 74 77 6f 2e 63 70 70 | 2e 2e 2e 0a 3e 0a 3e 76 | two.cpp|....>.>v|
|00000360| 6f 69 64 20 62 61 72 28 | 29 0a 3e 7b 0a 3e 09 75 |oid bar(|).>{.>.u|
|00000370| 73 69 6e 67 20 6e 61 6d | 65 73 70 61 63 65 20 41 |sing nam|espace A|
|00000380| 3b 0a 3e 09 63 6f 75 74 | 20 3c 3c 20 69 20 3c 3c |;.>.cout| << i <<|
|00000390| 20 65 6e 64 6c 3b 0a 3e | 7d 0a 3e 0a 3e 54 49 41 | endl;.>|}.>.>TIA|
|000003a0| 20 66 6f 72 20 61 6e 20 | 61 6e 73 77 65 72 2e 0a | for an |answer..|
|000003b0| 0a 44 69 63 6b 2c 0a 0a | 50 75 74 20 69 74 20 69 |.Dick,..|Put it i|
|000003c0| 6e 20 61 20 68 65 61 64 | 65 72 20 66 69 6c 65 2c |n a head|er file,|
|000003d0| 20 61 6e 64 20 6d 61 6b | 65 20 69 20 65 69 74 68 | and mak|e i eith|
|000003e0| 65 72 20 73 74 61 74 69 | 63 20 69 6e 74 2c 20 0a |er stati|c int, .|
|000003f0| 63 6f 6e 73 74 20 69 6e | 74 2c 20 6f 72 20 65 78 |const in|t, or ex|
|00000400| 74 65 72 6e 61 6c 20 73 | 74 61 74 69 63 20 69 6e |ternal s|tatic in|
|00000410| 74 20 28 69 6e 20 77 68 | 69 63 68 20 63 61 73 65 |t (in wh|ich case|
|00000420| 20 69 74 20 77 69 6c 6c | 0a 68 61 76 65 20 74 6f | it will|.have to|
|00000430| 20 62 65 20 69 6e 73 74 | 61 6e 63 65 64 20 69 6e | be inst|anced in|
|00000440| 20 6f 6e 65 20 61 6e 64 | 20 6f 6e 6c 79 20 6f 6e | one and| only on|
|00000450| 65 20 2e 63 70 70 20 66 | 69 6c 65 2e 0a 0a 2d 42 |e .cpp f|ile...-B|
|00000460| 72 69 61 6e 20 3a 2d 29 | 0a 0a 0a |rian :-)|... |
+--------+-------------------------+-------------------------+--------+--------+